#include "Draw.h"

void FunctionViewer::Draw::text(float x, float y, float r, float g, float b, char *string) {
	char *c;
	glColor3f(r, g, b);
	glRasterPos2f(x, y);
	for (c=string; *c != '\0'; c++)
	{
		printf(c);
		glutBitmapCharacter(GLUT_BITMAP_HELVETICA_18, *c);
	}
	std::cout << std::endl;
}